package cn.lili.modules.member.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("li_red_pack_user_task")
@ApiModel(value = "用户红包记录")
public class RedPackUserTask extends BaseStandardEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户openID")
    private String openId;

    @ApiModelProperty(value = "任务ID")
    private String taskId;

    @ApiModelProperty(value = "获得红包数量")
    private Integer redPackCount;

    @ApiModelProperty(value = "任务状态：0进行中、1已完成、2待领取")
    private Integer status;

}
